package com.gitee.ly.ymorm.mapping;

import com.gitee.ly.ymorm.YmOrmConfig;

import java.util.List;

/**
 * BoundSql
 *
 * @author ly
 **/
public class BoundSql {
    private final String sql;
    List<String> parameterMappings;
    private final ParamMap parameterObject;

    public BoundSql(YmOrmConfig configuration, String sql, List<String> parameterMappings, ParamMap parameterObject) {
        this.sql = sql;
        this.parameterMappings = parameterMappings;
        this.parameterObject = parameterObject;
    }

    public String getSql() {
        return sql;
    }

    public ParamMap getParameterObject() {
        return parameterObject;
    }

    public List<String> getParameterMappings() {
        return parameterMappings;
    }
}
